package com.example.huanhang.changzhouapp.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.allen.library.SuperTextView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.huanhang.changzhouapp.R;
import com.example.huanhang.changzhouapp.bean.Feilei;

import java.util.List;

/**
 * @author : lei
 * @desc :
 * @date : 2018/8/26 0026  下午 3:05.
 * 个人博客站: http://www.bestlei.top
 */

public class FeileiAdapter extends BaseQuickAdapter<Feilei, BaseViewHolder> {
    public FeileiAdapter(@LayoutRes int layoutResId, @Nullable List<Feilei> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Feilei item) {
        ((SuperTextView) helper.getView(R.id.item_work_view)).setCenterString(item.getFlName()).setClickable(false);
    }
}
